﻿// ==============================================================================
// Copyright (c) 2012 Bndy.Net, All rights reserved.
// Created by Bndy on 1/13/2012 10:59:02 PM
//
//                    * * * * * * * * * * * * * 
//                    * MAIL- bndy5337@163.com *       http://www.bndy.net
//                    * Q Q - 81795705 =========================================>
//                    * MSN - bndy5337@msn.com *
//                    * * * * * * * * * * * * * 
//
// ------------------------------------------------------------------------------
// 
// ==============================================================================

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Net.Bndy.Web.Mvc
{
    public static class HtmlHelperExt
    {
        public static string Url(
            this HtmlHelper htmlHelper,
            string action,
            string controller,
            object id,
            string title
            )
        {
            string result = string.Empty;

            result = string.Format("{0}/{1}/{2}/{3}", controller, action, title, id);

            return result;
        }
    }
}
